package com.winshare.saleAssistant.mapper;

import com.winshare.saleAssistant.domain.dto.req.ParamCreateDTO;
import com.winshare.saleAssistant.domain.entity.SysParamDO;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;

@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface SysParamMapStruct {

    SysParamMapStruct INSTANCE = Mappers.getMapper(SysParamMapStruct.class);

    SysParamDO fromParamCreateDTO(ParamCreateDTO paramCreateDTO);
}
